package com.elong.android.specialhouse.entity;

public class ChatMessage
{
	private String icon;
	private String name;
	private String uid;
	private String content;
	private String createDate;
	private boolean isComMeg;
	private boolean isShowDate = false;

	public final static int RECIEVE_MSG = 1;
	public final static int SEND_MSG = 2;
	
	public ChatMessage(){
		
	}
	public ChatMessage(String icon, String name, String content,
					   String createDate, boolean isComMeg)
	{
		this.icon = icon;
		this.name = name;
		this.content = content;
		this.createDate = createDate;
		this.isComMeg = isComMeg;
	}

	public boolean isComMeg()
	{
		return isComMeg;
	}

	public void setComMeg(boolean isComMeg)
	{
		this.isComMeg = isComMeg;
	}

	public String getContent()
	{
		return content;
	}

	public void setContent(String content)
	{
		this.content = content;
	}

	public String getIcon()
	{
		return icon;
	}

	public void setIcon(String icon)
	{
		this.icon = icon;
	}

	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public String getCreateDate()
	{
		return createDate;
	}

	public void setCreateDate(String createDate)
	{
		this.createDate = createDate;
	}

	@Override
	public String toString()
	{
		return "ChatMessage [icon=" + icon + ", name=" + name + ", content="
				+ content + ", createDate=" + createDate + "]";
	}

	public boolean isShowDate() {
		return isShowDate;
	}

	public void setShowDate(boolean isShowDate) {
		this.isShowDate = isShowDate;
	}

	public String getUid() {
		return uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}
}
